xenconsole: Solaris ptys have different semantics.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 12 Mar 2009 10:56:55 +0000 (10:56 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 12 Mar 2009 10:56:55 +0000 (10:56 +0000)
commit275c6ccdc971ac824e45029428b480fcc7a8829a
tree675de0e881ed1d872c0805901b83e28d0b1f46f2
parent08dade96d99e5b978c727cc6bdb19661de1a4cca
xenconsole: Solaris ptys have different semantics.

Make sure that tty semantics are active for Solaris ptys, or if they
aren't (and not needed) to not do tcget/setattr on the filedescriptor
in Python code.

Also work around a bug in the Solaris ptm streams driver, which will
cause a write error on the master side of a pty (because of e.g. a
missing slave) to persist forever.

Signed-off-by: Frank van der Linden <frank.vanderlinden@sun.com>
tools/console/client/main.c